<template>
    <view class="wrap">
		<view class="img-box">
			<image class="imgSuccess" src="/static/activity/submit_icon_succeed.png" mode=""></image>
			
			<view class='tisp'>
			    <view>提交成功,确认中</view>
			   <!-- <view>工作人员会尽快确认</view> -->
			</view>
		</view> 
		<view class="bottom-box">
			<view class="bottom2" @click="goHome">
				返回选车列表
			</view>
		</view>
    </view>
</template>

<script>
export default {
    data() {
        return {
            totalPrice: 0,
            orderId: 0,
            page: 1,
        }
    },
    onLoad(op) {
        this.totalPrice = op.totalPrice;
        this.orderId = op.orderId;
        this.page = op.page;
    },
    methods: {
        goHome() {
            uni.reLaunch({
                url: `/pages/car/car`, // 车辆页面
            });
        },
        goOrder() {
            uni.redirectTo({
                url: `../../pagesB/mine/car-orderlist/car-orderdetail?id=${this.orderId}`,
            });
        },
    },
}
</script>

<style lang="scss" scoped>
page {
    background-color: #fff;
}
.bottom-box{
		width: 100%;
		position: fixed;
		font-size: 32upx;
		color: $white;
		bottom: 32upx;
		z-index: 2;
	}
.bottom2 {
		width: 90%;
		height: 80upx;
		margin: 0 auto;
		text-align: center;
		line-height: 80upx;
		background-color: $redec;
		border-radius: 8upx;
	}
.tisp{
	text-align: center;
	color:#000000;
	font-size: 30upx;
}
.wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
	height: 90vh;
	position: relative;
	.img-box{
		position: absolute;
		top: 50%;
		transform: translateY(-128upx); 
		display: flex;
		flex-direction: column;
		align-items: center;
		.imgSuccess {
		    width: 128upx;
		    height: 128upx;
			margin-bottom: 24upx;
			
		}
	}
   
}

.amount {
    display: flex;
    align-items: flex-end;
    margin-top: 50upx;
    &_unit {
        font-size: 30upx;
        font-family: PingFang SC, PingFang SC-Bold;
        font-weight: bold;
        text-align: center;
        color: #333333;
        position: relative;
        top: -10upx;
    }
    &_price {
        font-size: 60upx;
        font-family: PingFang SC, PingFang SC-Bold;
        font-weight: bold;
        text-align: center;
        color: #333333;
    }
}

.navi {
    margin-top: 80upx;
    display: flex;
    align-items: center;
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 280upx;
    height: 80upx;
    font-size: 28upx;
    font-family: PingFang SC, PingFang SC-Bold;
    font-weight: bold;
    text-align: center;
    border-radius: 40upx;
}

.leftBtn {
    border: 2upx solid #009B01;
    color: #009B01;
    margin-right: 30upx;
}

.rightBtn {
    background-color: #009B01;
    color: #fff;
}
</style>
